//
//  IconViewController.h
//  oneSelect
//
//  Created by satoshi_uma on 2020/6/19.
//  Copyright © 2020 satoshi_uma. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface IconViewController : UIViewController

@end

NS_ASSUME_NONNULL_END

//如果希望通过标题标签提供额外说明，请取消注释
//cropController.title = @"Crop Image";

//--如果要测试恢复到以前的作物设置，请取消注释这些--
//cropController.angle = 90; //图像旋转的初始角度
//cropController.imageCropFrame = CGRectMake(0,0,2848,4288); //裁剪控制器将显示的初始帧。

//--取消对以下代码行的注释，以测试纵横比特性--
//cropController.aspectRatioPreset = TOCropViewControllerAspectRatioPresetSquare; //将初始纵横比设置为平方
//cropController.aspectRatioLockEnabled = YES; //裁剪框已锁定为纵横比，无法调整其大小
//cropController.resetAspectRatioEnabled = NO; //当点击“重置”时，宽高比将不会重置回默认值
//cropController.aspectRatioPickerButtonHidden = YES;

//--取消注释这一行代码，将工具栏放在视图控制器的顶部--
//cropController.toolbarPosition = TOCropViewControllerToolbarPositionTop;

//--取消对这行代码的注释，使其仅包含特定类型的预设比率
//cropController.allowedAspectRatios = @[@(TOCropViewControllerAspectRatioPresetOriginal),
//                                       @(TOCropViewControllerAspectRatioPresetSquare),
//                                       @(TOCropViewControllerAspectRatioPreset3x2)];

//cropController.rotateButtonsHidden = YES;
//cropController.rotateClockwiseButtonHidden = NO;

//cropController.doneButtonTitle = @"Title";
//cropController.cancelButtonTitle = @"Title";

//--取消对这行代码的注释，以在取消时显示确认对话框--
//cropController.showCancelConfirmationDialog = YES;

//如果希望始终显示网格，请取消注释
//cropController.cropView.alwaysShowCroppingGrid = YES;

//如果不希望半透明效果，请取消对此的注释
//cropController.cropView.translucencyAlwaysHidden = YES;
